package com.example.entity.dto.pc;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "编辑末级生产线")
@Data
public class EditProductLineDto {

    /**
     * 资源ID
     */
    @ApiModelProperty(value = "资源ID")
    private Integer resourceId;

    /**
     * 生产线编号
     */
    @ApiModelProperty(value = "生产线编号")
    @JsonProperty(value = "productLineNo", required = true)
    private String deviceId;

    /**
     * 生产线名称
     */
    @ApiModelProperty(value = "生产线名称")
    @JsonProperty(value = "productLineName", required = true)
    private String deviceName;

    @ApiModelProperty(value = "是否为固定线，不是则为变动线 (1为固定线，0为变动线)", required = true)
    @TableField("fixedLine")
    private Integer fixedLine;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "父级资源组ID", required = true)
    private Integer resourceGroupId;

    @ApiModelProperty(value = "用来打通resourcegroup。和resourcegroup中的resourcegroupId一一对应")
    private Integer resourceGroupIdIsF;

}
